package cn.wolfcode.luowowo.comment.service;

import cn.wolfcode.luowowo.comment.domain.StrategyComment;
import cn.wolfcode.luowowo.comment.query.StrategyCommentQuery;
import org.springframework.data.domain.Page;

import java.util.List;

public interface IStrategyCommentService {
    void saveOrUpdate(StrategyComment strategyComment);

    Page query(StrategyCommentQuery qo);

    void commentThumbUp(String commentId, Long userId);

    /**
     * 查询用户攻略评论
     * @param userId
     * @return
     */
    List<StrategyComment> queryByUserId(Long userId);
}
